<ion-navbar *navbar class="my-navbar">
  <ion-title>
    发现
  </ion-title>
  <ion-buttons end>
    <button (click)="openSearchModal()">
      <ion-icon name="search"></ion-icon>
    </button>
  </ion-buttons>
</ion-navbar>

<ion-content class="find">
    <div *ngIf="data">
        <product-list [products]="data.products" (selected)="onProductSelected($event)"></product-list>
    </div>
</ion-content>

<drop-menu *ngIf="data" [categories]="data.categories"></drop-menu>
